package com.wuzhishan.news.service;

import com.wuzhishan.news.pojo.BlogArticle;
import com.wuzhishan.news.pojo.BlogUser;

import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.util.List;

public interface apiService {
    List<BlogArticle> latests(String maxResults);

    List<BlogArticle> hots(String maxResults);

    void getArticle(HttpSession session) throws IOException;

    List<BlogUser> hotusers(String maxResults);
}
